import type { RouteRecordRaw } from 'vue-router';
import RouterView from '@/views/Layout/routerView/index.vue';
// import { t } from '@/hooks/useI18n';

const moduleName = 'SystemMange';

const routes: Array<RouteRecordRaw> = [
  {
    path: '/SystemMange',
    name: moduleName,
    component: RouterView,
	meta: {
	  title: '系统设置',
	  icon: 'icon-yibiaopan',
	},
	children:[
		{
		  path: '/SystemMange-basicMange',
		  name: 'SystemMange-basicMange',
		  meta: {
		    title: '基本信息',
		    icon: 'icon-zhuomian',
		  },
		  component: () => import('@/views/SystemMange/basicMange/index.vue'),
		},
		{
		  path: '/SystemMange-logMange',
		  name: 'SystemMange-logMange',
		  meta: {
		    title: '操作日志',
		    icon: 'icon-zhuomian',
		  },
		  component: () => import('@/views/SystemMange/logMange/index.vue'),
		},
	]
  },
];

export default routes;
